package opreation;

import book.Book;
import book.BookList;

public class ShowOpreation implements IOpreation{
    @Override
    public void work(BookList booklist) {
        System.out.println("展示图书");
        int size = booklist.getUsedsize();
        for (int i = 0; i < size; i++) {
            Book book = booklist.getBooks(i);
            System.out.println(book);
        }
    }
}
